package com.example.invoicing.pojo;

public class SalesRecord {
    private String id;

    private String serialNumber;

    private String productName;

    private String quantity;

    private String unitPrice;

    private String totalPrices;

    private String sellingTime;

    private String phone;

    private String email;

    private String createTime;

    private String updateTime;

    private PageResult pageResult;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber == null ? null : serialNumber.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity == null ? null : quantity.trim();
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice == null ? null : unitPrice.trim();
    }

    public String getTotalPrices() {
        return totalPrices;
    }

    public void setTotalPrices(String totalPrices) {
        this.totalPrices = totalPrices == null ? null : totalPrices.trim();
    }

    public String getSellingTime() {
        return sellingTime;
    }

    public void setSellingTime(String sellingTime) {
        this.sellingTime = sellingTime == null ? null : sellingTime.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public PageResult getPageResult() {
        return this.pageResult;
    }

    public void setPageResult(final PageResult pageResult) {
        this.pageResult = pageResult;
    }

    @Override
    public String toString() {
        return "SalesRecord{" +
                "id='" + id + '\'' +
                "serialNumber='" + serialNumber + '\'' +
                ", productName='" + productName + '\'' +
                ", quantity='" + quantity + '\'' +
                ", unitPrice='" + unitPrice + '\'' +
                ", totalPrices='" + totalPrices + '\'' +
                ", sellingTime='" + sellingTime + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", pageResult=" + pageResult +
                '}';
    }
}